/*-
 * Copyright notice
 * 
 * (c) 2011 Christian Würtz <christian.wuertz@googlemail.com>
 * 
 * All rights reserved.
 * 
 * This file is part of the google-static-map-url-builder project. It is free
 * software: you can redistribute it and/or modify it under the terms of the 
 * GNU General Public License as published by the Free Software Foundation,
 * either version 2 of the License, or (at your option) any later version.
 * 
 * The google-static-map-url-builder is distributed in the hope that it will be
 * useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General 
 * Public License for more details.
 *  
 * You should have received a copy of the GNU General Public License
 * along with the google-static-map-url-builder. If not, see 
 * <http://www.gnu.org/licenses/>.
 */
package de.wuertz.map.enumeration;

/**
 * The sizes of markers.
 * 
 * @author Christian Würtz <christian.wuertz@googlemail.com>
 */
public enum MarkerSize
{
	/**
	 * Tiny marker.
	 */
	TINY,
	/**
	 * Small marker.
	 */
	SMALL,
	/**
	 * Medium sized marker.
	 */
	MID;

	/**
	 * (non-Javadoc)
	 * 
	 * @see java.lang.Enum#toString()
	 */
	@Override
	public String toString()
	{
		if( this.equals( TINY ) )
		{
			return "tiny";
		}
		else if( this.equals( SMALL ) )
		{
			return "small";
		}
		else
		{
			return "mid";
		}
	}
}
